package com.jsb.laundry.model.shops;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 小站管理详情
 *
 * @JsonAlias({"od"}) json->java 反序列化
 * @JsonProperty("oid") java->json 序列化
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ShopsManagerDetailVo implements Serializable {

    private static final long serialVersionUID = 701700626615489655L;

    private ShopInfo shopInfo;

    private List<ShopOrderVo> orderInfoList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Accessors(chain = true)
    public static class ShopInfo {
        @ApiModelProperty(value = "店铺id")
        private String shopsId;
        @ApiModelProperty(value = "店铺名称")
        private String shopsName;
        @ApiModelProperty(value = "负责人姓名")
        private String idName;
        @ApiModelProperty(value = "累计返佣金额")
        private String rebateTotal;
        @ApiModelProperty(value = "已结算佣金")
        private String alreadyRebateTotal;
        @ApiModelProperty(value = "佣金金额")
        private String riderCommission;
        @ApiModelProperty(value = "待结算佣金")
        private String waitRebateTotal;
        @ApiModelProperty(value = "联系电话")
        private String linkPhone;
        @ApiModelProperty(value = "累计返佣笔数")
        private String rebateNum;
        @ApiModelProperty(value = "已结算笔数")
        private String alreadyRebateNum;
        @ApiModelProperty(value = "待结算笔数")
        private String waitRebateNum;
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @ApiModelProperty(value = "注册时间")
        private Date registerTime;
    }



}
